package com.jvm.binary.initialize.dynamic_static;

/**
 * sds..
 *
 * @author Lizhong
 * @date 2019/3/14
 */
public class SubClass extends SuperClass {
    private int mSubX = 1;

    public SubClass() {
    }

    @Override
    public void setX(int x) {
        super.setX(x);
        mSubX = x;
        System.out.println("mSubX is assigned " + x);
    }

    public void printX() {
        System.out.println("mSubX = " + mSubX);
    }
}
